package com.qf.dao;

import com.qf.entity.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper {
    @Select("select  * from t_user")
    List<User> findAll();

    @Select("select * from t_user where username=#{username}")
    User findByUsername(String username);
}
